
<div class="col-md-3 left_col">
  <div class="left_col scroll-view">
    <div class="navbar nav_title" style="border: 0;">
      <a href="index.html" class="site_title"><i class="fa fa-paw"></i> 美的集团 </a>
    </div>

    <div class="clearfix"></div>

    <!-- menu profile quick info -->
    <div class="profile">
      <div class="profile_pic">
        <img src="images/img.jpg" alt="..." class="img-circle profile_img">
      </div>
      <div class="profile_info">
        <span>Welcome,</span>
        <h2>John Doe</h2>
      </div>
    </div>
    <!-- /menu profile quick info -->

    <br />

    <!-- sidebar menu -->
    <div id="sidebar-menu" class="main_menu_side hidden-print main_menu">
      <div class="menu_section">
        <h3>General</h3>
        <ul class="nav side-menu">
          <li><a><i class="fa fa-star-o"></i> 基本菜单 <span class="fa fa-chevron-down"></span></a>
            <ul class="nav child_menu">
              <li><a href="Generate_order.html">下单</a></li>
              <li><a href="quote.html">价格查询</a></li>
              <li><a href="cus_order_info.html">订单查询</a></li>
            </ul>
          </li>
          <li><a><i class="fa fa-fax"></i> 订单管理 <span class="fa fa-chevron-down"></span></a>
            <ul class="nav child_menu">
              <li><a href="sys_Receipt.html">订单跟踪</a></li>
              <li><a href="Order_Center.html">订单中心</a></li>
              <li><a href="cus_order.html">订单下发</a></li>
              <li><a href="MyOrder.html">我的订单</a></li>
              <li><a href="finish.html">签单</a></li>
            </ul>
          </li>
          <!--<li><a><i class="fa fa-navicon"></i> 计划管理 <span class="fa fa-chevron-down"></span></a>
            <ul class="nav child_menu">
              <li><a href="general_elements.html">订单中心</a></li>
              <li><a href="media_gallery.html">海运任务管理</a></li>
              <li><a href="typography.html">空运任务管理</a></li>
            </ul>
          </li>-->
          <li><a><i class="fa fa-database"></i> 海运管理 <span class="fa fa-chevron-down"></span></a>
            <ul class="nav child_menu">
              <li><a href="booking_order.html">订舱管理</a></li>
              <!--<li><a href="booking_order.html">预排柜作业</a></li>
              <li><a href="tables_dynamic.html">SO作业</a></li>-->
            </ul>
          </li>
          <li><a><i class="fa fa-plane"></i> 空运管理 <span class="fa fa-chevron-down"></span></a>
            <ul class="nav child_menu">
              <li><a href="air_order.html">订舱管理</a></li>
              <!--<li><a href="air_order.html">预排柜作业</a></li>
              <li><a href="other_charts.html">Other Charts</a></li>-->
            </ul>
          </li>



          <li><a><i class="fa fa-sitemap"></i> 基础管理 <span class="fa fa-chevron-down"></span></a>
            <ul class="nav child_menu">
              <li><a href="UserInfo.html">用户管理</a></li>
              <li><a href="checkwarehouse.html">仓库管理</a></li>
              <li><a href="showmoney.html">价格调整</a></li>
              <li><a href="showcompany.html">合作公司</a></li>
              <li><a href="role.html">角色管理</a></li>
              <li><a>报表<span class="fa fa-chevron-down"></span></a>
                <ul class="nav child_menu">
                  <li class="sub_menu"><a href="luo.html">罗</a>
                  </li>
                  <li><a href="Waybill.html">万</a></li>
                  <li><a href="salary.html">陶</a></li>
                  <li><a href="achievement.html">梁</a></li>
                  <li><a href="feng.html">冯</a></li>
                </ul>
              </li>

            </ul>
          </li>
        </ul>
      </div>


    </div>
    <!-- /sidebar menu -->

    <!-- /menu footer buttons -->
    <div class="sidebar-footer hidden-small">
      <a data-toggle="tooltip" data-placement="top" title="Settings">
        <span class="glyphicon glyphicon-cog" aria-hidden="true"></span>
      </a>
      <a data-toggle="tooltip" data-placement="top" title="FullScreen">
        <span class="glyphicon glyphicon-fullscreen" aria-hidden="true"></span>
      </a>
      <a data-toggle="tooltip" data-placement="top" title="Lock">
        <span class="glyphicon glyphicon-eye-close" aria-hidden="true"></span>
      </a>
      <a data-toggle="tooltip" data-placement="top" title="Logout">
        <span class="glyphicon glyphicon-off logout1"  aria-hidden="true" ></span>
      </a>
    </div>
    <!-- /menu footer buttons -->
  </div>
</div>
<!-- top navigation -->
<div class="top_nav">
  <div class="nav_menu">
    <nav>
      <div class="nav toggle">
        <a id="menu_toggle"><i class="fa fa-bars"></i></a>
      </div>

      <ul class="nav navbar-nav navbar-right">
        <li class="">
          <a href="javascript:;" class="user-profile dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
            <img src="images/img.jpg" alt="">John Doe
            <span class=" fa fa-angle-down"></span>
          </a>
          <ul class="dropdown-menu dropdown-usermenu pull-right">
            <li><a href="PasswordUpdate.html"> 修改密码</a></li>
            <li>
              <a href="PersonalInfor.html">
                <span class="badge bg-red pull-right">50%</span>
                <span>个人信息</span>
              </a>
            </li>
            <li><a href="send.html">发邮件</a></li>
            <li><a href="#" class="logout1"><i class="fa fa-sign-out pull-right"></i> Log Out</a></li>
          </ul>
        </li>

        <li role="presentation" class="dropdown">
          <a href="javascript:;" class="dropdown-toggle info-number" data-toggle="dropdown" aria-expanded="false">
            <i class="fa fa-envelope-o"></i>
            <span class="badge bg-green">6</span>
          </a>
          <ul id="menu1" class="dropdown-menu list-unstyled msg_list" role="menu">
            <li>
              <a>
                <span class="image"><img src="images/img.jpg" alt="Profile Image" /></span>
                <span>
                          <span>John Smith</span>
                          <span class="time">3 mins ago</span>
                        </span>
                <span class="message">
                          Film festivals used to be do-or-die moments for movie makers. They were where...
                        </span>
              </a>
            </li>
            <li>
              <a>
                <span class="image"><img src="images/img.jpg" alt="Profile Image" /></span>
                <span>
                          <span>John Smith</span>
                          <span class="time">3 mins ago</span>
                        </span>
                <span class="message">
                          Film festivals used to be do-or-die moments for movie makers. They were where...
                        </span>
              </a>
            </li>
            <li>
              <a>
                <span class="image"><img src="images/img.jpg" alt="Profile Image" /></span>
                <span>
                          <span>John Smith</span>
                          <span class="time">3 mins ago</span>
                        </span>
                <span class="message">
                          Film festivals used to be do-or-die moments for movie makers. They were where...
                        </span>
              </a>
            </li>
            <li>
              <a>
                <span class="image"><img src="images/img.jpg" alt="Profile Image" /></span>
                <span>
                          <span>John Smith</span>
                          <span class="time">3 mins ago</span>
                        </span>
                <span class="message">
                          Film festivals used to be do-or-die moments for movie makers. They were where...
                        </span>
              </a>
            </li>
            <li>
              <div class="text-center">
                <a href="notice.html">
                  <strong>查看所有消息</strong>
                  <i class="fa fa-angle-right"></i>
                </a>
              </div>
            </li>
          </ul>
        </li>
      </ul>
    </nav>
  </div>
</div>
<!-- /top navigation -->



<!-- Custom Theme Scripts -->
<script src="js/custom.min.js"></script>

<script>

    $(function () {
        var $token=window.sessionStorage.getItem('token');
        // $.ajax({
        //     url:"http://localhost:8081/gls/index",
        //     dataType:"json",
        //     type:"post",
        //     xhrFields:{withCredentials:true},
        //     success:function(data) {
        //       alert(data);
        //     }
        // })
        $(".logout1").click(function(){
            $.ajax({
                url:"http://localhost:8081/gls/logout",
                dataType:"json",
                type:"post",
                data:{"token":$token},
                xhrFields:{withCredentials:true},
                success:function(data) {
                    if(data.message=="yes"){
                        window.location.href=("login.html");
                    }else{
                        alert("异常");
                    }
                },
                error:function(){
                    alert("错误");
                }
            })
        })
    })
</script>